<?php
/**
 * @package			ALM ProductControl
 * @version			$Id:$
 * @subpackage		com_almapc
 * @autor			ALM Studio
 * @copyright		Copyrights ALM Studio 2011. All rights reserved
 * @license 		http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @autor url		http://alm-studio.net
 * @autor email		info@almstudio.net
 */
defined('_JEXEC') or die('Restricted access');

class com_almpcInstallerScript
{
	function install($parent) 
	{
		$parent->getParent()->setRedirectURL('index.php?option=com_almpc');
	}

	function uninstall($parent) 
	{
		echo '<p>' . JText::_('COM_ALMPC_UNINSTALL_TEXT') . '</p>';
	}

	function update($parent) 
	{
		echo '<p>' . JText::_('COM_ALMPC_UPDATE_TEXT') . '</p>';
	}

	function preflight($type, $parent) 
	{
		echo '<p>' . JText::_('COM_ALMPC_PREFLIGHT_' . $type . '_TEXT') . '</p>';
	}

	function postflight($type, $parent) 
	{
		echo '<p>' . JText::_('COM_ALMPC_POSTFLIGHT_' . $type . '_TEXT') . '</p>';
	}
}